package com.cloudserver.springboot.service;

import com.cloudserver.springboot.bean.Character;
import com.cloudserver.springboot.vo.PermissionMenu;

import java.util.List;

/**
 * @author zqq
 * @create 2020-10-08 10:04
 */
public interface PermissionService {

    public List<PermissionMenu> doPermissionMenu(String account);

    /**
     * @Description:  通过账户查询userid
     * @param: 
     * @return: 
     * @auther: zqq
     * @date: 20/10/9 16:28
     */
    public Integer getUserIdByAccount(String account);
    
    /**
     * @Description: 通过userid查询character表的内容
     * @param: 
     * @return: 
     * @auther: zqq
     * @date: 20/10/9 17:30
     */
    public Character getAllById(Integer userId);

}
